using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class UI_EffectSlotManager : MonoBehaviour
{
    public static UI_EffectSlotManager instance;
    [SerializeField] private GameObject effectSlot;

    private void Awake()
    {
        if (instance != null)
        {
            Destroy(instance);
        }
        else
        { 
            instance = this;    
        }
    }

    public void ShowUI_EffectSlot(FlaskItemEffect flaskItemEffect)
    {
        GameObject gobj = Instantiate(effectSlot, transform);
        gobj.GetComponent<UI_EffectSlot>().SetUI_EffectSlot(flaskItemEffect);
    }


}
